package cc.facesign.admin.bean;

import cc.facesign.admin.bean.vo.DeptVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 部门树
 */

@Data
public class DeptTree {

    private DeptVo dept;
    private List<DeptTree> children;

// _____________________________________________________

    private String id;

    // 父部门id
    private String pid;

    @ApiModelProperty("父部门名")
    private String pName;

    private String rid;

    @ApiModelProperty("根部门名")
    private String rName;

    private String name;

    @ApiModelProperty(value = "部门状态，0正常，1停用")
    private String status;

    @ApiModelProperty(value = "部门状态文本")
    private String statusText;

    private String email;

    private Integer sort;
}
